package su.samcom.calc.service.record;

import su.samcom.calc.model.entity.Location;

/**
 * Created with IntelliJ IDEA.
 * User: Владислав
 * Date: 30.11.13
 * Time: 0:47
 * To change this template use File | Settings | File Templates.
 */
public class Converter{

    public static void populate(LocationRecord locationRecord, Location location){
        locationRecord.setLabel(location.getName());
        locationRecord.setCategory(location.getCountry().getName());
    }

}
